﻿using System.Xml.Serialization;

namespace SS4U.Library.ConfigurationClasses
{
    public class DocumentType
    {

        [XmlElement("id")]
        public int Id { get; set; }

        [XmlAttribute("alias")] 
        public string Alias { get; set; }
        
        [XmlElement("Property")] 
        public PropertyCollection Properties { get; set; }
        
        [XmlAttribute("category")]
        public string Category { get; set; }

        [XmlAttribute("includeChildNodes")]
        public bool IncludeChildNodes { get; set; }

        [XmlAttribute("testNodeName")]
        public bool TestNodeName { get; set; }

        public DocumentType()
        {
            Properties = new PropertyCollection();
        }

    }
}
